import {useLoginStore} from "./LoginStore.ts";

export const LoginCtrl = () => {

    const store = useLoginStore();

    async function handleSubmit() {
        await store.submit();
    }


    return {
        store,
        handleSubmit
    }

}